<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>新会员免费注册</title>
<link  href="css/validate.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jQuery.js"></script>
<script type="text/javascript" src="js/validate.pack.js"></script>
</head>
<body>
<h1><img src="images/logo.png" width="168" height="50" /></h1>
<img src="images/regist.gif" width="342" height="51" />
<hr />
<form name="validateForm" action="NormalUser!add" method="post">
<table width="800" border="0" class="ad" cellpadding="0" cellspacing="0" id="testTable">
 　　<tr bgcolor="#ffffff">
		<td align="right" width="150px" style="padding-left: 5px; padding-top: 4px; padding-bottom: 4px; padding-right: 18px;">
		用户名 : 
		</td>
		<td align="left" style="padding-left: 5px; padding-top: 4px; padding-bottom: 4px; padding-right: 18px;">
		<input name="normalUser.userName" type="text" id="normalUser.userName" reg="^\w{5,25}$"/>  
		<span name="easyTip">(5-25个字符,由数字、字母和下划线组成)</span>
		</td>
	</tr>
	<tr bgcolor="#ffffff">
		<td align="right" width="150px" style="padding-left: 5px; padding-top: 4px; padding-bottom: 4px; padding-right: 18px;">
		登陆密码 : 
		</td>
		<td align="left" style="padding-left: 5px; padding-top: 4px; padding-bottom: 4px; padding-right: 18px;">
		<input name="normalUser.password" type="password" id="normalUser.password" reg="^\S{6,16}$"/>  
		<span name="easyTip">(6-16个字符，请使用字母加数字或符号的组合密码)</span>
		</td>
	</tr>
	<tr bgcolor="#ffffff">
		<td align="right" width="150px" style="padding-left: 5px; padding-top: 4px; padding-bottom: 4px; padding-right: 18px;">
		确认密码 : 
		</td>
		<td align="left" style="padding-left: 5px; padding-top: 4px; padding-bottom: 4px; padding-right: 18px;">
		<input name="rePassword" type="password" id="rePassword" /> 
		<span name="easyTip">(再输一次密码)</span>
		</td>
	</tr>
	<tr bgcolor="#ffffff">
		<td align="right" width="150px" style="padding-left: 5px; padding-top: 4px; padding-bottom: 4px; padding-right: 18px;">
		邮箱地址 : 
		</td>
		<td align="left" style="padding-left: 5px; padding-top: 4px; padding-bottom: 4px; padding-right: 18px;">
		<input name="normalUser.email" type="text" id="normalUser.email" reg="^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$"/> <span name="easyTip">(邮箱地址，如abc@qq.com)</span>
		</td>
	</tr>
	<tr bgcolor="#ffffff">
		<td align="right" width="150px" style="padding-left: 5px; padding-top: 4px; padding-bottom: 4px; padding-right: 18px;">
		手机号 : 
		</td>
		<td align="left" style="padding-left: 5px; padding-top: 4px; padding-bottom: 4px; padding-right: 18px;">
		<input name="normalUser.phone" type="text" id="normalUser.phone" reg="^\d{11}$"/> <span name="easyTip">(由11位数字组成)</span>
		</td>
	</tr>
    <tr bgcolor="#ffffff">
		<td align="right" width="150px" style="padding-left: 5px; padding-top: 4px; padding-bottom: 4px; padding-right: 18px;">
		验证码 : 
		</td>
		<td align="left" style="padding-left: 5px; padding-top: 4px; padding-bottom: 4px; padding-right: 18px;">
		<input name="validate" type="text" id="validate"/> 
		<script type="text/javascript">  
    		function changeValidateCode(obj) {   
       	 	obj.src = "rand";  
    		}  
		</script> 
        <img src="rand" id="safecode" onclick="changeValidateCode(this)"/>
		</td>
	</tr>
	<tr bgcolor="#ffffff">
	<td colspan="2" align="left" style="padding-left: 5px; padding-top: 4px; padding-bottom: 4px; padding-right: 18px;">
    <center>
	<input type="submit" name="submit" value=" 同意协议并注册 " id="submit" />&nbsp;&nbsp;&nbsp;<a href="#">《微积分服务协议》</a>
    </center>
	</td>
	</tr>
</table>
</form>
</body>
</html>
